package com.itheima.mp.mapper;

import com.itheima.mp.entity.Address;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zpf
 * @since 2024-06-25
 */
public interface AddressMapper extends BaseMapper<Address> {

    @Update("update address set deleted = 1 where id = #{id}")
    int deleteAddressById(int i);

}
